package com.sz.youban.dt.service.allinpay;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.sz.youban.dt.entity.allinpay.DtPayAuthentication;
import com.sz.youban.dt.entity.allinpay.DtPayAuthenticationLog;
import com.sz.youban.dt.interfs.allinpay.IDtPayAuthenticationService;
import com.sz.youban.dt.service.allinpay.mapper.DtPayAuthenticationLogMapper;
import com.sz.youban.dt.service.allinpay.mapper.DtPayAuthenticationMapper;

/**
 * <p>
 * 实名认证记录 服务实现类
 * </p>
 *
 * @author liyang
 * @since 2017-06-20
 */
@Service
public class DtPayAuthenticationServiceImpl extends ServiceImpl<DtPayAuthenticationMapper, DtPayAuthentication> implements IDtPayAuthenticationService {

	@Autowired
	private DtPayAuthenticationMapper authenticationMapper;

	@Autowired
	private DtPayAuthenticationLogMapper authenticationLogMapper;
	
	@Override
	public void saveAuthentication(DtPayAuthentication authentication) {
		
		authenticationMapper.insert(authentication);
	}

	@Override
	public void saveAuthenticationLog(DtPayAuthenticationLog authenticationLog) {
		authenticationLogMapper.insert(authenticationLog);
	}

}
